package com.yuma.springshiroredisthymeleaf.entity;

import lombok.Data;
import java.io.Serializable;

@Data             // 如果要把对象保存到redis中，那么必须实现序列化
public class Goods implements Serializable {
    private Integer goodsId;
    private String goodsName;
    private String goodsType;
    private Double goodsPrice;
    private Integer goodsCount;
    private Boolean isDelete;
}